import request from '@/utils/request'
export const getArticles = (params) => {
  return request.get('/interview/query', { params }
  )
}
export const getArticlesCollect = (params) => {
  return request.get('/interview/opt/list', { params }
  )
}

export const getArticlesLike = (params) => {
  return request.get('/interview/opt/list', { params }
  )
}

export const getArticleDetail = id => {
  return request.get('/interview/show', { params: id }
  )
}
export const updateFlag = data => {
  return request.post('/interview/opt', data)
}
